package com.ztgf.sys.models.bo;

import com.baomidou.mybatisplus.annotations.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 菜单SaveBO
 * </p>
 *
 * @author YUE
 * @since 2020-05-26
 */
@Data
public class SysMenuSaveBO implements Serializable {
    @ApiModelProperty(value = "主键Id")
    private Long id;
    @ApiModelProperty(value = "名字")
    private String name;
    @ApiModelProperty(value = "select、insert、edit、delete")
    private String code;
    @ApiModelProperty(value = "菜单图标")
    private String icon;
    @ApiModelProperty(value = "菜单路径")
    private String url;
    @ApiModelProperty(value = "菜单层级")
    private Integer levels;
    @ApiModelProperty(value = "排序 默认排序")
    private Integer sort;
    @ApiModelProperty(value = "是否是菜单 0不是，1是")
    private Integer menu;
    @ApiModelProperty(value = "是否打开 0不打开，1打开")
    private Integer open;
    @ApiModelProperty(value = "备注")
    private String notes;
    @ApiModelProperty(value = "状态 0不启用，1启用")
    private Integer status;
    @ApiModelProperty(value = "父级id")
    private Long parentId;
    @ApiModelProperty(value = "角色id")
    private Long roleId;
    @ApiModelProperty(value = "系统类型 0平台系统权限 1前端商家权限")
    private Integer webType;
}
